package cn.jasonone.service.impl;

import cn.jasonone.bean.UserInfo;
import cn.jasonone.dao.UserInfoDao;
import cn.jasonone.service.UserInfoService;

public class UserInfoServiceImpl implements UserInfoService {
	private UserInfoDao dao = new UserInfoDao();

	@Override
	public boolean register(UserInfo user) {
		return dao.register(user);
	}

	@Override
	public UserInfo login(UserInfo user) {
		return dao.login(user);
	}

}
